<?php
require_once "../Common/database.php";

$query="INSERT INTO tblLinks (Name,Link,Folder) VALUES ('$_POST[name]','$_POST[link]','$_POST[folder]')";
mysql_query($query);

echo '<h3><center>Added Link '.$_POST[name];
echo '<p><a href="../index.php?p=lview">Back</a>';
?>